home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / ov_all.zip / TI792.ASC < prev    next >
Text File  |  1991-09-11  |  5KB  |  199 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  ObjectVision                           NUMBER  :  792
  9.   VERSION  :  1.0
  10.        OS  :  WIN
  11.      DATE  :  September 11, 1991                       PAGE  :  1/3
  12.  
  13.     TITLE  :  Selection Lists calling other Selection Lists
  14.  
  15.  
  16.  
  17.  
  18.   1. Create the Form.  Tools|Form.  Enter Main as the Title of the
  19.      form.
  20.  
  21.   2. Choose Objects|Field <Add New Field>.  Enter CATEGORY as the
  22.      field Name.  Place this field on your form.
  23.  
  24.   3. Create the following additional fields on your Main Form:
  25.           Hardware
  26.           Business Applications
  27.           Languages
  28.           Operating Systems
  29.  
  30.   4. Make the above fields check box fields using Property|Field
  31.      Type|Check box's:
  32.  
  33.      Enter the following values for Hardware:
  34.           CPU
  35.           Floppy Drive
  36.           Hard Disk
  37.           Monitor
  38.  
  39.      For Operating Systems enter:
  40.           CPM
  41.           Dos
  42.           OS/2
  43.           Unix
  44.           VMS
  45.  
  46.      For Business Applications:
  47.           ObjectVision
  48.           Paradox
  49.           Quattro Pro
  50.           SideKick
  51.           Sprint
  52.  
  53.      For Languages:
  54.           C++
  55.           C++ for Windows
  56.           Paradox Engine
  57.           Turbo Pascal
  58.           Turbo Pascal for Windows
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.   PRODUCT  :  ObjectVision                           NUMBER  :  792
  75.   VERSION  :  1.0
  76.        OS  :  WIN
  77.      DATE  :  September 11, 1991                       PAGE  :  2/3
  78.  
  79.     TITLE  :  Selection Lists calling other Selection Lists
  80.  
  81.  
  82.  
  83.  
  84.   5. Create a final field called Product.  Product invokes the
  85.      decision tree that calls the appropriate checkbox list.
  86.      Highlight the Product field.  Select Tools|Tree and then
  87.      Objects|Branch.  Select CATEGORY from the field list.  Choose
  88.      Objects|Conclusion.  For the first condition enter Hardware.
  89.      For the conclusion enter the following formula:
  90.  
  91.                   + Hardware
  92.  
  93.   The conclusion + Hardware is simply saying goto Hardware and get
  94.   a value from this field.
  95.  
  96.   Important Note: it is strongly suggested you select Hardware from
  97.                   the field selection list supplied to you when the
  98.                   field button is pressed in the Conclusion dialog
  99.                   box.  If you type a field name in an expression
  100.                   and the name contains characters that
  101.                   ObjectVision may interpret as part of the
  102.                   expression syntax, you must enclose the name
  103.                   within single-quotation marks.  If you select the
  104.                   field name from the selection list provided when
  105.                   the field button is pressed, ObjectVision will
  106.                   automatically take care of the necessary syntax
  107.                   for the expression and prevent a mistyped
  108.                   entry from becoming a new field in the
  109.                   application.
  110.  
  111.   Choose Objects|Conclusion again, however, this time substituting
  112.   the next selection from the Category selection list, ie.,
  113.   Operating Systems for the Condition and + Operating Systems as
  114.   the conclusion.  Repeat this step for the Business Applications
  115.   and Languages substituting the appropriate conclusion for each
  116.   choice.
  117.  
  118.   6. Cut the following fields from the form using Edit|Cut:
  119.      Hardware, Operating Systems, Business Applications, and
  120.      Languages.
  121.  
  122.   7. Define CATAGORY as a Selection List field.  Choose
  123.      Properties|Field Type|Selection List.  Make sure an X appears
  124.      in the Automatic checkbox field.  ObjectVision will
  125.      automatically generate the selection list for Category based
  126.      on the decision tree on Product.
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.   PRODUCT  :  ObjectVision                           NUMBER  :  792
  141.   VERSION  :  1.0
  142.        OS  :  WIN
  143.      DATE  :  September 11, 1991                       PAGE  :  3/3
  144.  
  145.     TITLE  :  Selection Lists calling other Selection Lists
  146.  
  147.  
  148.  
  149.  
  150.   Based on the value selected in Category the appropriate secondary
  151.   selection list will appear as a check box list in a scratch pad
  152.   field.  The value you select will appear in Product.
  153.  
  154.   If you do not wish to have the Secondary selection lists to
  155.   appear as a scratch pad field you may want to create a second
  156.   form using Form|New (call this form Form Two) and place the
  157.   following fields on it:
  158.  
  159.       Hardware, Operating Systems, Business Applications, and
  160.       Languages
  161.  
  162.   Since these fields exist in ObjectVision's field list, Choose
  163.   Objects|Field and highlight the field name.  Locate the field on
  164.   the form.  Repeat this step for the remaining fields.  You will
  165.   need to specify the field types for all of these fields, ie.,
  166.   Selection Lists or as checkbox lists using Properties|Field Type
  167.   then select either selection list or check box.
  168.  
  169.   Based on the option selected in Category the appropriate
  170.   selection/checkbox field will be pulled up.  The value entered in
  171.   the secondary field will appear in the product field.
  172.  
  173.   Note:
  174.   ObjectVision's goal is to obtain information, once it has this
  175.   information it's job is complete.  Once a value has been entered
  176.   into a secondary checkbox list or selection list, ObjectVision
  177.   will not pull up that list again.  You will need to clear the
  178.   list using Edit|Clear All so all forms are cleared.
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.